package com.ruoyi.plasma.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.plasma.mapper.PlasmaUncollectionStatisticsMapper;
import com.ruoyi.plasma.domain.PlasmaUncollectionStatistics;
import com.ruoyi.plasma.service.IPlasmaUncollectionStatisticsService;

/**
 * 未采人员登记Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
@Service
public class PlasmaUncollectionStatisticsServiceImpl implements IPlasmaUncollectionStatisticsService 
{
    @Autowired
    private PlasmaUncollectionStatisticsMapper plasmaUncollectionStatisticsMapper;

    /**
     * 查询未采人员登记
     * 
     * @param id 未采人员登记主键
     * @return 未采人员登记
     */
    @Override
    public PlasmaUncollectionStatistics selectPlasmaUncollectionStatisticsById(Long id)
    {
        return plasmaUncollectionStatisticsMapper.selectPlasmaUncollectionStatisticsById(id);
    }

    /**
     * 查询未采人员登记列表
     * 
     * @param plasmaUncollectionStatistics 未采人员登记
     * @return 未采人员登记
     */
    @Override
    public List<PlasmaUncollectionStatistics> selectPlasmaUncollectionStatisticsList(PlasmaUncollectionStatistics plasmaUncollectionStatistics)
    {
        return plasmaUncollectionStatisticsMapper.selectPlasmaUncollectionStatisticsList(plasmaUncollectionStatistics);
    }

    /**
     * 新增未采人员登记
     * 
     * @param plasmaUncollectionStatistics 未采人员登记
     * @return 结果
     */
    @Override
    public int insertPlasmaUncollectionStatistics(PlasmaUncollectionStatistics plasmaUncollectionStatistics)
    {
        return plasmaUncollectionStatisticsMapper.insertPlasmaUncollectionStatistics(plasmaUncollectionStatistics);
    }

    /**
     * 修改未采人员登记
     * 
     * @param plasmaUncollectionStatistics 未采人员登记
     * @return 结果
     */
    @Override
    public int updatePlasmaUncollectionStatistics(PlasmaUncollectionStatistics plasmaUncollectionStatistics)
    {
        return plasmaUncollectionStatisticsMapper.updatePlasmaUncollectionStatistics(plasmaUncollectionStatistics);
    }

    /**
     * 批量删除未采人员登记
     * 
     * @param ids 需要删除的未采人员登记主键
     * @return 结果
     */
    @Override
    public int deletePlasmaUncollectionStatisticsByIds(Long[] ids)
    {
        return plasmaUncollectionStatisticsMapper.deletePlasmaUncollectionStatisticsByIds(ids);
    }

    /**
     * 删除未采人员登记信息
     * 
     * @param id 未采人员登记主键
     * @return 结果
     */
    @Override
    public int deletePlasmaUncollectionStatisticsById(Long id)
    {
        return plasmaUncollectionStatisticsMapper.deletePlasmaUncollectionStatisticsById(id);
    }
}
